package com.wyg.epuser.utils.authUtil;


import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @Author: WangYongGan
 * @Date: 2022/4/26 21:04
 * @Description:
 */

public class AuthCache {
    private static Map<String, String> map = new ConcurrentHashMap<>();

    public String get(String key) {
        return map.get(key);
    }

    public static void put(String key, String value) {
        map.put(key, value);
    }

    public static String getSessionId(String key) {
        return map.get(key);
    }
}
